#pragma once
#include "istatu.h"
#include "RecvMessageData.h"
#include "ListCtrl.h"
#include "CSlider.h"
class CSMSPreviewListStatu :
	public IStatu
{
public:
	CSMSPreviewListStatu(WCHAR * name);
	~CSMSPreviewListStatu(void);

	virtual bool EnterStatu();

	virtual bool ExitStatu();
	void  LoadPreMessage(map<wstring,wstring>& mapItem);
	bool downclick();
	bool upclick();
	bool SelPreMessage();
	virtual bool EvaluateClickEvent(const WCHAR* elementName);


	virtual bool EvaluateDBClickEvent(const WCHAR* elementName);
	CRecvMessageData *m_lpPreMessages;

	TCHAR m_SaveFile[256];
	CListCtrl* m_pList; 
	CSlider   *m_pSlider;
	int m_nPageCount;
	int m_nPageIndex;
};
